package com.example.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.student.entity.MyClass;
import com.example.student.generated.entity.Class;
import com.example.student.generated.entity.Student;

import java.util.List;

public interface MyClassMapper extends BaseMapper<MyClass> {
    /**
     * 一对多 collection
     * @return
     */
    List<Class> getAllClass();

    List<Student> getStudentById(Long id);

}
